3.937 \(\int \frac{\cos ^2(e+f x)}{(a+a \sin (e+f x))^{3/2} \sqrt{c+d \sin (e+f x)}} \, dx\)
Optimal. Leaf size=141 \[ \frac{2 \tan ^{-1}\left (\frac{\sqrt{a} \sqrt{d} \cos (e+f x)}{\sqrt{a \sin (e+f x)+a} \sqrt{c+d \sin (e+f x)}}\right )}{a^{3/2} \sqrt{d} f}-\frac{2 \sqrt{2} \tanh ^{-1}\left (\frac{\sqrt{a} \sqrt{c-d} \cos (e+f x)}{\sqrt{2} \sqrt{a \sin (e+f x)+a} \sqrt{c+d \sin (e+f x)}}\right )}{a^{3/2} f \sqrt{c-d}} \]
[Out]
(2*ArcTan[(Sqrt[a]*Sqrt[d]*Cos[e + f*x])/(Sqrt[a + a*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]])])/(a^(3/2)*Sqrt[d
]*f) - (2*Sqrt[2]*ArcTanh[(Sqrt[a]*Sqrt[c - d]*Cos[e + f*x])/(Sqrt[2]*Sqrt[a + a*Sin[e + f*x]]*Sqrt[c + d*Sin[
e + f*x]])])/(a^(3/2)*Sqrt[c - d]*f)
________________________________________________________________________________________
Rubi [A] time = 0.671545, antiderivative size = 141, normalized size of antiderivative = 1.,
number of steps used = 6, number of rules used = 6, integrand size = 37, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.162, Rules used =
{2916, 2982, 2782, 208, 2775, 205} \[ \frac{2 \tan ^{-1}\left (\frac{\sqrt{a} \sqrt{d} \cos (e+f x)}{\sqrt{a \sin (e+f x)+a} \sqrt{c+d \sin (e+f x)}}\right )}{a^{3/2} \sqrt{d} f}-\frac{2 \sqrt{2} \tanh ^{-1}\left (\frac{\sqrt{a} \sqrt{c-d} \cos (e+f x)}{\sqrt{2} \sqrt{a \sin (e+f x)+a} \sqrt{c+d \sin (e+f x)}}\right )}{a^{3/2} f \sqrt{c-d}} \]
Antiderivative was successfully verified.
[In]
Int[Cos[e + f*x]^2/((a + a*Sin[e + f*x])^(3/2)*Sqrt[c + d*Sin[e + f*x]]),x]
[Out]
(2*ArcTan[(Sqrt[a]*Sqrt[d]*Cos[e + f*x])/(Sqrt[a + a*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]])])/(a^(3/2)*Sqrt[d
]*f) - (2*Sqrt[2]*ArcTanh[(Sqrt[a]*Sqrt[c - d]*Cos[e + f*x])/(Sqrt[2]*Sqrt[a + a*Sin[e + f*x]]*Sqrt[c + d*Sin[
e + f*x]])])/(a^(3/2)*Sqrt[c - d]*f)
Rule 2916
Int[cos[(e_.) + (f_.)*(x_)]^2*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_) + (d_.)*sin[(e_.) + (f_.)*(x_)
])^(n_), x_Symbol] :> Dist[1/b^2, Int[(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e + f*x])^n*(a - b*Sin[e + f*x])
, x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && EqQ[a^2 - b^2, 0] && IntegersQ[2*m, 2*n]
Rule 2982
Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*Sqrt[(c_.) + (d_.)*sin
[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Dist[(A*b - a*B)/b, Int[1/(Sqrt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*
x]]), x], x] + Dist[B/b, Int[Sqrt[a + b*Sin[e + f*x]]/Sqrt[c + d*Sin[e + f*x]], x], x] /; FreeQ[{a, b, c, d, e
, f, A, B}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Rule 2782
Int[1/(Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> D
ist[(-2*a)/f, Subst[Int[1/(2*b^2 - (a*c - b*d)*x^2), x], x, (b*Cos[e + f*x])/(Sqrt[a + b*Sin[e + f*x]]*Sqrt[c
+ d*Sin[e + f*x]])], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 -
d^2, 0]
Rule 208
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-(a/b), 2]*ArcTanh[x/Rt[-(a/b), 2]])/a, x] /; FreeQ[{a,
b}, x] && NegQ[a/b]
Rule 2775
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]], x_Symbol] :> Dist[
(-2*b)/f, Subst[Int[1/(b + d*x^2), x], x, (b*Cos[e + f*x])/(Sqrt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]])
], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Rule 205
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]*ArcTan[x/Rt[a/b, 2]])/a, x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]
Rubi steps
\begin{align*} \int \frac{\cos ^2(e+f x)}{(a+a \sin (e+f x))^{3/2} \sqrt{c+d \sin (e+f x)}} \, dx &=\frac{\int \frac{a-a \sin (e+f x)}{\sqrt{a+a \sin (e+f x)} \sqrt{c+d \sin (e+f x)}} \, dx}{a^2}\\ &=-\frac{\int \frac{\sqrt{a+a \sin (e+f x)}}{\sqrt{c+d \sin (e+f x)}} \, dx}{a^2}+\frac{2 \int \frac{1}{\sqrt{a+a \sin (e+f x)} \sqrt{c+d \sin (e+f x)}} \, dx}{a}\\ &=-\frac{4 \operatorname{Subst}\left (\int \frac{1}{2 a^2-(a c-a d) x^2} \, dx,x,\frac{a \cos (e+f x)}{\sqrt{a+a \sin (e+f x)} \sqrt{c+d \sin (e+f x)}}\right )}{f}+\frac{2 \operatorname{Subst}\left (\int \frac{1}{a+d x^2} \, dx,x,\frac{a \cos (e+f x)}{\sqrt{a+a \sin (e+f x)} \sqrt{c+d \sin (e+f x)}}\right )}{a f}\\ &=\frac{2 \tan ^{-1}\left (\frac{\sqrt{a} \sqrt{d} \cos (e+f x)}{\sqrt{a+a \sin (e+f x)} \sqrt{c+d \sin (e+f x)}}\right )}{a^{3/2} \sqrt{d} f}-\frac{2 \sqrt{2} \tanh ^{-1}\left (\frac{\sqrt{a} \sqrt{c-d} \cos (e+f x)}{\sqrt{2} \sqrt{a+a \sin (e+f x)} \sqrt{c+d \sin (e+f x)}}\right )}{a^{3/2} \sqrt{c-d} f}\\ \end{align*}
Mathematica [C] time = 33.2878, size = 208404, normalized size = 1478.04
\[ \text{Result too large to show} \]
Warning: Unable to verify antiderivative.
[In]
Integrate[Cos[e + f*x]^2/((a + a*Sin[e + f*x])^(3/2)*Sqrt[c + d*Sin[e + f*x]]),x]
[Out]
Result too large to show
________________________________________________________________________________________
Maple [B] time = 0.319, size = 4463, normalized size = 31.7 \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(cos(f*x+e)^2/(a+a*sin(f*x+e))^(3/2)/(c+d*sin(f*x+e))^(1/2),x)
[Out]
1/2/f/d^2/(-(d^2/c^2)^(1/2)*c)^(1/2)/(c^2-2*c*d+d^2)/(2*c-2*d)^(1/2)*((d^2/c^2)^(1/2)*(((d^2/c^2)^(1/2)*c^4+6*
(d^2/c^2)^(1/2)*d^2*c^2+d^4*(d^2/c^2)^(1/2)-4*c^2*d^2-4*d^4)*c)^(1/2)*(-(d^2/c^2)^(1/2)*c)^(1/2)*(d*(c+d*sin(f
*x+e))/((d^2/c^2)^(1/2)*c*sin(f*x+e)+d))^(1/2)*arctan(((d^2/c^2)^(1/2)*c^2-d^2)*c*((d^2/c^2)^(1/2)-1)/(((d^2/c
^2)^(1/2)*c^4+6*(d^2/c^2)^(1/2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*c*sin(f*x+e)+d))^(1/2)*arctan(1/(-(d^2/c^2)^(1/2)*c)^(1/2)*(d*(c+d*sin(f
*x+e))/((d^2/c^2)^(1/2)*c*sin(f*x+e)+d))^(1/2))*(2*c-2*d)^(1/2)*c^2*d^2*sin(f*x+e)-4*2^(1/2)*((c+d*sin(f*x+e))
/(cos(f*x+e)+1))^(1/2)*(-(d^2/c^2)^(1/2)*c)^(1/2)*ln(-2*((2*c-2*d)^(1/2)*2^(1/2)*((c+d*sin(f*x+e))/(cos(f*x+e)
+1))^(1/2)*sin(f*x+e)+c*cos(f*x+e)-d*cos(f*x+e)+c*sin(f*x+e)-d*sin(f*x+e)-c+d)/(-1+cos(f*x+e)-sin(f*x+e)))*d^4
*sin(f*x+e)-(d^2/c^2)^(1/2)*(d*(c+d*sin(f*x+e))/((d^2/c^2)^(1/2)*c*sin(f*x+e)+d))^(1/2)*arctan(1/(-(d^2/c^2)^(
1/2)*c)^(1/2)*(d*(c+d*sin(f*x+e))/((d^2/c^2)^(1/2)*c*sin(f*x+e)+d))^(1/2))*(2*c-2*d)^(1/2)*c^3*d)/(c+d*sin(f*x
+e))^(1/2)*(sin(f*x+e)*cos(f*x+e)+cos(f*x+e)^2-2*sin(f*x+e)+cos(f*x+e)-2)/(-1+cos(f*x+e))/(a*(1+sin(f*x+e)))^(
3/2)
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cos \left (f x + e\right )^{2}}{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{3}{2}} \sqrt{d \sin \left (f x + e\right ) + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(f*x+e)^2/(a+a*sin(f*x+e))^(3/2)/(c+d*sin(f*x+e))^(1/2),x, algorithm="maxima")
[Out]
integrate(cos(f*x + e)^2/((a*sin(f*x + e) + a)^(3/2)*sqrt(d*sin(f*x + e) + c)), x)
________________________________________________________________________________________
Fricas [B] time = 6.68613, size = 5009, normalized size = 35.52 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(f*x+e)^2/(a+a*sin(f*x+e))^(3/2)/(c+d*sin(f*x+e))^(1/2),x, algorithm="fricas")
[Out]
[1/4*(4*sqrt(2)*a*d*log(-((c - 3*d)*cos(f*x + e)^2 - 2*sqrt(2)*((c - d)*cos(f*x + e) - (c - d)*sin(f*x + e) +
c - d)*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)/sqrt(a*c - a*d) + (3*c - d)*cos(f*x + e) - ((c - 3*d)
*cos(f*x + e) - 2*c - 2*d)*sin(f*x + e) + 2*c + 2*d)/(cos(f*x + e)^2 - (cos(f*x + e) + 2)*sin(f*x + e) - cos(f
*x + e) - 2))/sqrt(a*c - a*d) - sqrt(-a*d)*log((128*a*d^4*cos(f*x + e)^5 + a*c^4 + 4*a*c^3*d + 6*a*c^2*d^2 + 4
*a*c*d^3 + a*d^4 + 128*(2*a*c*d^3 - a*d^4)*cos(f*x + e)^4 - 32*(5*a*c^2*d^2 - 14*a*c*d^3 + 13*a*d^4)*cos(f*x +
e)^3 - 32*(a*c^3*d - 2*a*c^2*d^2 + 9*a*c*d^3 - 4*a*d^4)*cos(f*x + e)^2 - 8*(16*d^3*cos(f*x + e)^4 + 24*(c*d^2
- d^3)*cos(f*x + e)^3 - c^3 + 17*c^2*d - 59*c*d^2 + 51*d^3 - 2*(5*c^2*d - 26*c*d^2 + 33*d^3)*cos(f*x + e)^2 -
(c^3 - 7*c^2*d + 31*c*d^2 - 25*d^3)*cos(f*x + e) + (16*d^3*cos(f*x + e)^3 + c^3 - 17*c^2*d + 59*c*d^2 - 51*d^
3 - 8*(3*c*d^2 - 5*d^3)*cos(f*x + e)^2 - 2*(5*c^2*d - 14*c*d^2 + 13*d^3)*cos(f*x + e))*sin(f*x + e))*sqrt(-a*d
)*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c) + (a*c^4 - 28*a*c^3*d + 230*a*c^2*d^2 - 476*a*c*d^3 + 289*
a*d^4)*cos(f*x + e) + (128*a*d^4*cos(f*x + e)^4 + a*c^4 + 4*a*c^3*d + 6*a*c^2*d^2 + 4*a*c*d^3 + a*d^4 - 256*(a
*c*d^3 - a*d^4)*cos(f*x + e)^3 - 32*(5*a*c^2*d^2 - 6*a*c*d^3 + 5*a*d^4)*cos(f*x + e)^2 + 32*(a*c^3*d - 7*a*c^2
*d^2 + 15*a*c*d^3 - 9*a*d^4)*cos(f*x + e))*sin(f*x + e))/(cos(f*x + e) + sin(f*x + e) + 1)))/(a^2*d*f), 1/2*(2
*sqrt(2)*a*d*log(-((c - 3*d)*cos(f*x + e)^2 - 2*sqrt(2)*((c - d)*cos(f*x + e) - (c - d)*sin(f*x + e) + c - d)*
sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)/sqrt(a*c - a*d) + (3*c - d)*cos(f*x + e) - ((c - 3*d)*cos(f*
x + e) - 2*c - 2*d)*sin(f*x + e) + 2*c + 2*d)/(cos(f*x + e)^2 - (cos(f*x + e) + 2)*sin(f*x + e) - cos(f*x + e)
- 2))/sqrt(a*c - a*d) - sqrt(a*d)*arctan(1/4*(8*d^2*cos(f*x + e)^2 - c^2 + 6*c*d - 9*d^2 - 8*(c*d - d^2)*sin(
f*x + e))*sqrt(a*d)*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)/(2*a*d^3*cos(f*x + e)^3 - (3*a*c*d^2 - a
*d^3)*cos(f*x + e)*sin(f*x + e) - (a*c^2*d - a*c*d^2 + 2*a*d^3)*cos(f*x + e))))/(a^2*d*f), 1/4*(8*sqrt(2)*a*d*
sqrt(-1/(a*c - a*d))*arctan(sqrt(2)*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)*sqrt(-1/(a*c - a*d))/cos
(f*x + e)) - sqrt(-a*d)*log((128*a*d^4*cos(f*x + e)^5 + a*c^4 + 4*a*c^3*d + 6*a*c^2*d^2 + 4*a*c*d^3 + a*d^4 +
128*(2*a*c*d^3 - a*d^4)*cos(f*x + e)^4 - 32*(5*a*c^2*d^2 - 14*a*c*d^3 + 13*a*d^4)*cos(f*x + e)^3 - 32*(a*c^3*d
- 2*a*c^2*d^2 + 9*a*c*d^3 - 4*a*d^4)*cos(f*x + e)^2 - 8*(16*d^3*cos(f*x + e)^4 + 24*(c*d^2 - d^3)*cos(f*x + e
)^3 - c^3 + 17*c^2*d - 59*c*d^2 + 51*d^3 - 2*(5*c^2*d - 26*c*d^2 + 33*d^3)*cos(f*x + e)^2 - (c^3 - 7*c^2*d + 3
1*c*d^2 - 25*d^3)*cos(f*x + e) + (16*d^3*cos(f*x + e)^3 + c^3 - 17*c^2*d + 59*c*d^2 - 51*d^3 - 8*(3*c*d^2 - 5*
d^3)*cos(f*x + e)^2 - 2*(5*c^2*d - 14*c*d^2 + 13*d^3)*cos(f*x + e))*sin(f*x + e))*sqrt(-a*d)*sqrt(a*sin(f*x +
e) + a)*sqrt(d*sin(f*x + e) + c) + (a*c^4 - 28*a*c^3*d + 230*a*c^2*d^2 - 476*a*c*d^3 + 289*a*d^4)*cos(f*x + e)
+ (128*a*d^4*cos(f*x + e)^4 + a*c^4 + 4*a*c^3*d + 6*a*c^2*d^2 + 4*a*c*d^3 + a*d^4 - 256*(a*c*d^3 - a*d^4)*cos
(f*x + e)^3 - 32*(5*a*c^2*d^2 - 6*a*c*d^3 + 5*a*d^4)*cos(f*x + e)^2 + 32*(a*c^3*d - 7*a*c^2*d^2 + 15*a*c*d^3 -
9*a*d^4)*cos(f*x + e))*sin(f*x + e))/(cos(f*x + e) + sin(f*x + e) + 1)))/(a^2*d*f), 1/2*(4*sqrt(2)*a*d*sqrt(-
1/(a*c - a*d))*arctan(sqrt(2)*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)*sqrt(-1/(a*c - a*d))/cos(f*x +
e)) - sqrt(a*d)*arctan(1/4*(8*d^2*cos(f*x + e)^2 - c^2 + 6*c*d - 9*d^2 - 8*(c*d - d^2)*sin(f*x + e))*sqrt(a*d
)*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)/(2*a*d^3*cos(f*x + e)^3 - (3*a*c*d^2 - a*d^3)*cos(f*x + e)
*sin(f*x + e) - (a*c^2*d - a*c*d^2 + 2*a*d^3)*cos(f*x + e))))/(a^2*d*f)]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cos ^{2}{\left (e + f x \right )}}{\left (a \left (\sin{\left (e + f x \right )} + 1\right )\right )^{\frac{3}{2}} \sqrt{c + d \sin{\left (e + f x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(f*x+e)**2/(a+a*sin(f*x+e))**(3/2)/(c+d*sin(f*x+e))**(1/2),x)
[Out]
Integral(cos(e + f*x)**2/((a*(sin(e + f*x) + 1))**(3/2)*sqrt(c + d*sin(e + f*x))), x)
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cos \left (f x + e\right )^{2}}{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{3}{2}} \sqrt{d \sin \left (f x + e\right ) + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(f*x+e)^2/(a+a*sin(f*x+e))^(3/2)/(c+d*sin(f*x+e))^(1/2),x, algorithm="giac")
[Out]
integrate(cos(f*x + e)^2/((a*sin(f*x + e) + a)^(3/2)*sqrt(d*sin(f*x + e) + c)), x)